import instance from "@/utils/request"
const api = {
    post(url, param,responseType) {
        return instance({
            url: url,
            method: 'post',
            data: param,
            responseType: responseType
        })
    },
    get(url, param, responseType) {
        return instance({
            url: url,
            method: 'get',
            params: param,
            responseType: responseType
        })
    }
}
export default api